package service;

import com.jfinal.plugin.activerecord.Page;
import model.Product;

/**
 * Created by ykj on 16/1/8.
 */
public interface IProductService extends IBackDataService {
    Page<Product> searchProducts(int page, int pageSize, String orderBy);
    Page<Product> searchProductsByQuery(int page, int pageSize,String query, String orderBy);
    Page<Product> filterProducts(int page, int pageSize,String rateSpan, String timeSpan, String type);
}
